Welcome![Sign In][Sign Up]
Location:
Search - tomcat hibernate mysql

Search list

[Other resourceBBS

Description: myeclipse下mysql-struts-hibernate-tomcat一个BBS 应用,精通J2EE 下源代码保证能跑
Platform: | Size: 1896885 | Author: eric | Hits:

[JSPJava 实用系统开发指南JavaPractice

Description: ·VI· 目 录 前言 第1章 高性能聊天系统...................................................................................................1 1.1 系统需求...........................................................................................................1 1.2 架构设计...........................................................................................................2 1.2.1 Java事件模型.....................................................................................................2 1.2.2 架构设计图.......................................................................................................5 1.2.3 协议设计.........................................................................................................5 1.2.4 多线程...........................................................................................................6 1.2.5 线程池...........................................................................................................9 1.2.6 非堵塞I/O........................................................................................................11 1.3 Socket核心设计和实现...............................................................................................13 1.3.1 TCP和Reactor模式.................................................................................................14 1.3.2 UDP实现..........................................................................................................19 1.3.3 客户端实现.......................................................................................................22 1.4 Socket接口设计和实现..............................................................................................28 1.4.1 队列和对象类型..................................................................................................28 1.4.2 访问者模式定义..................................................................................................32 1.4.3 访问者模式实现..................................................................................................36 1.4.4 协议封装........................................................................................................39 1.4.5 重整Refactoring.................................................................................................41 1.5 应用接口设计和实现................................................................................................45 1.5.1 Connection API..................................................................................................46 1.5.2 ConnectionFactory API...........................................................................................49 1.5.3 TcpConnection API...............................................................................................53 1.5.4 UdpConnection API...............................................................................................54 1.6 应用层设计和实现..................................................................................................56 1.6.1 客户端聊天测试..................................................................................................56 1.6.2 服务器聊天测试..................................................................................................58 1.7 性能测试..........................................................................................................59 1.8 小结..............................................................................................................61 第2章 简单的用户注册系统..............................................................................................62 2.1 需求分析............................................................................................................62 2.2 系统设计............................................................................................................62 2.2.1 JSP/Servlet与J2EE.................................................................................................63 2.2.2 结构设计图........................................................................................................64 2.2.3 JSP/JavaBeans技术要点.............................................................................................65 2.2.4 JDBC和连接池......................................................................................................68 2.2.5 数据库设计........................................................................................................70 2.3 类的详细设计和实现..................................................................................................71 2.3.1 Facade模式........................................................................................................71 2.3.2 JDBC通用操作类....................................................................................................73 2.3.3 E-mail发送通用类..................................................................................................78 2.3.4 用户资料管理......................................................................................................79 2.3.5 密码数据操作类....................................................................................................83 2.3.6 登陆验证功能......................................................................................................85 2.4 界面编程实现........................................................................................................87 2.4.1 登陆验证页面......................................................................................................87 2.4.2 注册页面..........................................................................................................88 2.5 调试、发布和运行....................................................................................................90 2.5.1 单元测试..........................................................................................................91 2.5.2 快速配置开发环境..................................................................................................92 2.5.3 Tomcat配置和调试..................................................................................................93 2.5.4 Tomcat连接池使用..................................................................................................95 2.6 Hibernate使用.......................................................................................................99 2.7 小结................................................................................................................103 第3章 Jive论坛系统.....................................................................................................107 3.1 Jive功能需求.......................................................................................................107 3.2 Jive与设计模式.....................................................................................................108 3.2.1 设计模式.........................................................................................................109 3.2.2 ForumFactory与工厂模式...........................................................................................109 3.2.3 统一入口与单态模式...............................................................................................113 3.2.4 访问控制与代理模式...............................................................................................114 3.2.5 批量分页查询与迭代模式...........................................................................................115 3.2.6 过滤器与装饰模式.................................................................................................120 3.2.7 主题监测与观察者模式.............................................................................................124 3.3 Jive安全管理机制...................................................................................................128 3.3.1 安全验证机制.....................................................................................................129 3.3.2 用户资料管理.....................................................................................................132 3.4 Jive的缓存机制.....................................................................................................133 3.4.1 缓存原理和实现...................................................................................................133 3.4.2 缓存使用.........................................................................................................136 3.4.3 小结.............................................................................................................139 3.5 Jive的其他组件技术.................................................................................................140 3.5.1 Jive的树形结构...................................................................................................140 3.5.2 XML和JDOM........................................................................................................143 3.5.3 全文检索和Lucene.................................................................................................147 3.5.4 Jive的中文问题...................................................................................................152 3.6 Jive图形处理.......................................................................................................154 3.6.1 图片上传处理.....................................................................................................154 3.6.2 服务器端图形处理.................................................................................................157 3.7 Jive安装调试运行...................................................................................................159 3.8 小结...............................................................................................................160 第4章 网站内容管理系统.................................................................................................161 4.1 需求分析...........................................................................................................161 4.2 架构设计...........................................................................................................162 4.2.1 系统架构图.......................................................................................................163 4.2.2 MVC模式和Struts..................................................................................................164 4.2.3 DBO模式和Castor..................................................................................................167 4.2.4 Cache设计........................................................................................................172 4.3 详细设计和实现.....................................................................................................173 4.3.1 基本对象设计.....................................................................................................173 4.3.2 数据模型的实现...................................................................................................174 4.3.3 抽象工厂(Abstract Factory)模式...................................................................................175 4.3.4 生成器(Builder)模式..............................................................................................180 4.4 表现层的实现.......................................................................................................187 4.4.1 Strut相关设置....................................................................................................187 4.4.2 创建PageForm.....................................................................................................189 4.4.3 创建PageAction...................................................................................................192 4.4.4 创建page.jsp页面.................................................................................................194 4.4.5 自定义标签库.....................................................................................................196 4.4.6 创建SavePageAction...............................................................................................199 4.4.7 Tile模板.........................................................................................................201 4.4.8 创建cmsMenu.jsp..................................................................................................203 4.4.9 创建index.jsp....................................................................................................203 4.4.10 小技巧..........................................................................................................204 4.5 项目重整Refactoring................................................................................................205 4.6 调试、发布和运行...................................................................................................206 4.6.1 配置和运行.......................................................................................................206 4.6.2 Log调试信息的配置................................................................................................206 4.7 小结...............................................................................................................207 第5章 订阅信息系统.....................................................................................................209 5.1 需求分析...........................................................................................................209 5.2 架构设计...........................................................................................................209 5.2.1 Cache和Pool......................................................................................................210 5.2.2 EJB框架体系......................................................................................................211 5.2.3 架构图...........................................................................................................213 5.2.4 接口框架设计.....................................................................................................213 5.3 EJB详细设计和实现..................................................................................................214 5.3.1 业务对象建模.....................................................................................................215 5.3.2 开发环境配置.....................................................................................................216 5.3.3 CMP图形开发......................................................................................................217 5.3.4 实体Bean.........................................................................................................221 5.3.5 Facade Session Bean..............................................................................................229 5.3.6 Transfer Object模式..............................................................................................232 5.4 Web与EJB接口框架...................................................................................................233 5.4.1 框架的设计.......................................................................................................233 5.4.2 框架的实现.......................................................................................................235 5.4.3 框架的使用.......................................................................................................243 5.5 表现层的设计和实现.................................................................................................247 5.5.1 创建ActionForm...................................................................................................247 5.5.2 创建Action 类....................................................................................................248 5.5.3 创建JSP页面......................................................................................................248 5.6 调试配置和运行.....................................................................................................249 5.6.1 JBoss和MySQL的配置...............................................................................................250 5.6.2 JNDI配置.........................................................................................................251 5.6.3 部署和发布.......................................................................................................253 5.6.4 调试和测试.......................................................................................................254 5.7 小结...............................................................................................................254 第6章 用户安全管理系统.................................................................................................256 6.1 需求分析...........................................................................................................256 6.2 架构设计...........................................................................................................256 6.2.1 角色.............................................................................................................257 6.2.2 J2EE的JAAS.......................................................................................................257 6.2.3 单点登录.........................................................................................................259 6.2.4 邮件发送组件.....................................................................................................261 6.3 详细设计和实现.....................................................................................................261 6.3.1 业务对象建模.....................................................................................................261 6.3.2 数据库设计.......................................................................................................263 6.3.3 实体bean实现.....................................................................................................263 6.3.4 Session Bean实现.................................................................................................266 6.3.5 EJB容器安全配置..................................................................................................273 6.4 JMS 邮件发送组件...................................................................................................275 6.4.1 消息发送器.......................................................................................................276 6.4.2 MDB..............................................................................................................279 6.5 Web层的实现........................................................................................................282 6.5.1 用户资料管理.....................................................................................................282 6.5.2 Web容器安全配置..................................................................................................287 6.6 调试配置和运行.....................................................................................................289 6.6.1 JAAS配置.........................................................................................................290 6.6.2 邮件服务的配置...................................................................................................291 6.6.3 部署和发布.......................................................................................................292 6.7 小结...............................................................................................................292 第7章 EJB方法调用框架..................................................................................................294 7.1 框架概况...........................................................................................................294 7.1.1 远程调用技术背景.................................................................................................294 7.1.2 框架结构.........................................................................................................295 7.2 框架设计..........................................................................................................296 7.2.1 代理(Proxy)模式...............................................................................................296 7.2.2 动态代理........................................................................................................298 7.2.3 反射(Reflection)和方法调用....................................................................................300 7.2.4 HTTP协议和对象序列化............................................................................................302 7.2.5 框架设计图......................................................................................................304 7.2.6 HTTPSession和缓存机制...........................................................................................305 7.2.7 基于HTTP的安全机制..............................................................................................306 7.3 类的详细设计和实现................................................................................................309 7.3.1 基本业务对象....................................................................................................310 7.3.2 动态代理工厂....................................................................................................312 7.3.3 肥客户端/服务器架构下实现.......................................................................................315 7.3.4 Web层代理Servlet Proxy..........................................................................................322 7.3.5 浏览器/服务器架构下实现.........................................................................................324 7.3.6 核心代理Business Proxy实现......................................................................................327 7.4 框架的使用和调试..................................................................................................333 7.4.1 配置............................................................................................................333 7.4.2 浏览器/服务器架构下的应用.......................................................................................335 7.4.3 肥客户端/服务器架构下的应用.....................................................................................336 7.5 小结..............................................................................................................337 第8章 网上商店系统...................................................................................................338 8.1 系统需求和设计...................................................................................................338 8.1.1 基本业务对象...................................................................................................339 8.1.2 数据表设计.....................................................................................................340 8.2 数据操作通用框架.................................................................................................344 8.2.1 框架的提炼和设计...............................................................................................347 8.2.2 增、删、改、查框架实现.........................................................................................352 8.3 商品类别管理功能的实现...........................................................................................356 8.3.1 创建Session Bean................................................................................................357 8.3.2 EJB配置.........................................................................................................358 8.3.3 创建Category相关类实现..........................................................................................360 8.3.4 Web配置.........................................................................................................361 8.3.5 创建Category.jsp................................................................................................362 8.4 商品管理功能的实现................................................................................................364 8.4.1 创建ProductManager..............................................................................................364 8.4.2 EJB配置.........................................................................................................366 8.4.3 创建Product相关类实现...........................................................................................368 8.4.4 Web配置.........................................................................................................369 8.4.5 创建product.jsp.................................................................................................370 8.4.6 商品图片上传功能................................................................................................374 8.5 商品批量查询和多页显示............................................................................................376 8.5.1 DAO模式.........................................................................................................377 8.5.2 Strut框架下设计和实现...........................................................................................385 8.5.3 页导航条实现....................................................................................................388 8.6 购物车功能的实现..................................................................................................393 8.6.1 有状态Session Bean..............................................................................................393 8.6.2 Web功能实现.....................................................................................................396 8.7 小结..............................................................................................................399
Platform: | Size: 31514707 | Author: fengbozs@163.com | Hits:

[JSP/JavaTomExam 在线考试系统 v1.0 UTF8

Description: TOMEXAM是基于JAVA与MYSQL开发的免费在线考试系统。它可以稳定、顺畅的运行在Windows与Linux平台上。 您可以通过它创建题库,发布试卷,组织考试,并由系统自动批改。 高度的可配置性和灵活性使得它可以被应用于很多领域。 考试功能介绍: 我的试卷 查看试卷答题情况,或参加考试。点击“详情”可了解考试成绩和答题情况。点击“参加考试”可参加考试。 自我检测 设置条件进行自我检测。 考试者填写完试卷并提交后,即可查看到答案批改情况。 管理功能介绍: 创建题库 管理员点击左侧菜单的“创建题库”,填写题库名称即可。创建题库后可向题库增加试题。 添加试题 支持图片,公式,音频、视频等多媒体问题。 管理员点击左侧菜单的“增加试题”,选择试题类型(单选、多选、判断、主观),按表单要求填写题干,选项等信息即可。 创建试卷 I. 管理员点击左侧菜单的“创建试卷”,填写试卷基本信息,如试卷名称,考试时长,目标用户组等。 II. 创建试卷完成后,可以对试卷进行“章节管理”,将试卷分成如:单选题章节、判断题章节、主观题章节等。(点击下图界面中的“章节管理”) III. 章节创建完成后,即可向试卷的各个章节添加试题了。如下图所示,左侧为当前试卷,右侧为题库筛选器,从界面右侧筛选出试题, 点击添加按钮,在弹出的对话框中可设置分值即可添加到当前试卷。 如何安装: 解压缩程序压缩包。并部署到Tomcat,如http://localhost:8080/tomexam 将程序目录中的database目录下的文件夹拷贝并放置到MySql数据库的data目录下。 具体位置? 编辑\WEB-INF\classes\hibernate.cfg.xml文件。 如何设置? 重新启动MySQL数据库与Tomcat。 登陆测试,默认管理员为:admin,密码:admin
Platform: | Size: 14561574 | Author: 1027620208@qq.com | Hits:

[ADO-ODBChbtest4

Description: 1、 基于J2EE的多层结构 以J2EE中间件为核心,综合关系数据库技术、面向对象技术、Web应用技术等方面。 2、 基本语言 Java作为主要编程语言; HTML作为Web页面描述的标准语言; XML作为配置; JSP2.0作为Web构件的主要编程语言;难点所在: 3、 多服务器平台建设与工具使用 MySQL5.0作为关系数据库,附带管理工具; Apache Tomcat5.5作为Web服务器,附带管理工具和JDBC驱动器; Apache Ant1.6.5作为项目管理工具 Hibernate3.1.2作为对象到数据库的映射API -one, based on J2EE to the multi-storey structure at the core J2EE middleware, integrated relational database technology, object-oriented technology, Web application technology. 2, the basic Java language as the main programming language; HTML Web pages as the standard description language; XML configuration; JSP2.0 as the main component of Web programming languages; Difficulties lie : 3, Multiple server platform construction and the use of tools of MySQL 5.0 as a relational database, incidental management tool; Tomcat5.5 as Apache Web server, management tools and fringe JDBC driver; Apache Ant1.6.5 as project management tools targeted Hibernate3.1.2 the mapping of database API
Platform: | Size: 3799040 | Author: | Hits:

[JSP/JavaBBS

Description: myeclipse下mysql-struts-hibernate-tomcat一个BBS 应用,精通J2EE 下源代码保证能跑-myeclipse under mysql-struts-hibernate-tomcat a BBS applications, proficient in J2EE to run under the source code to ensure that
Platform: | Size: 1896448 | Author: eric | Hits:

[MySQLhibernate2-install

Description: 手把手教你安装hibernate+tomcat+mysql-install hibernate+ tomcat+ mysql
Platform: | Size: 367616 | Author: huangbin | Hits:

[JSP/JavaOA

Description: 一个基于Struts+Spring+Hibernate+MySQL+Tomcat的中小企业办公自动化系),非常不错的一个OA系统-Based on the Struts+ Spring+ Hibernate+ MySQL+ Tomcat' s small and medium-sized office automation department), a very good one OA System
Platform: | Size: 1150976 | Author: 刘慧丰 | Hits:

[JSP/JavaProject

Description: 用GWT实现的一个功能简单(信息查询,支持换页)的程序,利用tomcat实现web端输入及显示。 其它关键字:hibernate、MySQL -GWT achieved with a simple function (information and support for pages) of the procedures, the use of web-ended input to achieve tomcat and display. Other keywords: hibernate, MySQL
Platform: | Size: 674816 | Author: phb | Hits:

[transportation applicationsOrderTickets

Description: 航空票务系统:采用Spring+Hibernate+Struts框架进行开发的应用系统,使用Tomcat作为Web服务器,数据库为MYSQL,这是一个完整的航空票务系统面向客户和管理员的平台:对用户提供的服务有注册、登录、用户信息管理、查询航班、预订机票、退票服务,对管理员提供的有登录、制定航班和安排航班日程服务,-Air ticketing system: using Spring+ Hibernate+ Struts framework for the development of application systems, using Tomcat as a Web server, and database MYSQL, which is a complete customer-oriented airline ticketing system and the administrator of the platform: the user-supplied service registration, login, user information management, query flights, booking tickets, refund service, administrators are logged on to develop arrangements for flights and flight schedule service,
Platform: | Size: 18754560 | Author: 天使不爱 | Hits:

[JSP/JavaMydang1023

Description: 当当网网上购物系统升级,功能主要分为:产品展示模块、用户登录和注册模块、购物车模块、订单模块等等 开发平台和环境:操作系统:WindowsXp、Linux 开发工具:MyEclipse6.5/7.0、UltraEdit-32 开发使用数据库:MySQL 开发使用WEB服务器:Tomcat 6.0 主要技术: Ajax、JavaScript、JSP、Servlet、Struts、Hibernate等-Dangdang online shopping system, functions can be divided into: Products module, user login and registration modules, shopping cart module, orders for the module, and so development platform and environment: operating systems: WindowsXp, Linux development tools: MyEclipse6.5/7.0, UltraEdit-32 developed using the database: MySQL developers use the WEB server: Tomcat 6.0
Platform: | Size: 2270208 | Author: 史豪杰 | Hits:

[JSP/JavaSimpleOA

Description: 简单的OA系统(Spring+Struts+Hibernate),数据库系统MySQL,tomcat下部署运行,有详细的文档说明-Simple OA Systems (Spring+ Struts+ Hibernate), database system MySQL, tomcat deployed to run, there is a detailed documentation
Platform: | Size: 9646080 | Author: aa | Hits:

[JSP/JavaSHLogin

Description: 使用Struts+DAO+Hibernate完成用户登陆\代码。 内容: 通过Struts+DAO+Hibernate完成登陆模块开发 产品:Struts、Hibernate、MySQL、Tomcat、Eclipse/MyEclipse 技术:Struts 1.2、Hiberante ORM实现-Use Struts+ DAO+ Hibernate complete user login \ code. Content: The Struts+ DAO+ Hibernate login module to complete product development: Struts, Hibernate, MySQL, Tomcat, Eclipse/MyEclipse technologies: Struts 1.2, Hiberante ORM implementation
Platform: | Size: 27648 | Author: ying | Hits:

[JSP/Javadbboard_struts2

Description: 留言板系统 SSH框架集成 Tomcat服务器 Mysql数据库-dbboard Struts2 Framework using Hibernate and spring
Platform: | Size: 15138816 | Author: 郑灿双 | Hits:

[JSP/Javastruts_Hibernate_Tomcat

Description: Base Application for the struts Hibernate based application using ant deployer to deploy the application on the tomcat server & to deploy the DB scripts on the MySQL DB.
Platform: | Size: 5074944 | Author: Shivshankar | Hits:

[JSP/Java105230293onlinetest

Description: 在线考试系统JSP+Mysql+tomcat。基于hibernate string -Online Examination System JSP+ Mysql+ tomcat. Based on hibernate string
Platform: | Size: 3222528 | Author: allen | Hits:

[JSP/JavaWapSSH

Description: 最近开始研究JavaEE的Wap技术所以写了这个示例。 没有什么特别的功能就是一个注册的功能。只是提供给大家学习用。使用Spring+Struts+Hibernate框架。开发环境是MyEclipse8.0,服务器是tomcat 6.0,数据库是MySQL 5.1。(用户名:root,密码:974400763) 推荐浏览器是Opera或者WinWap。当然适当设置下你的路由,知道你的外网IP的话你也可以用你可以上网的手机登录。-JavaEE recently began to study the Wap technology so wrote this example. No special feature is a registration function. Are only available to them to learn to use. Using Spring+ Struts+ Hibernate framework. Development environment is MyEclipse8.0, the server is tomcat 6.0, database is MySQL 5.1. (Username: root, Password: 974 400 763) recommended browser is Opera or WinWap. Of course, the appropriate settings for your route, know your external IP network, then you can use your mobile phone can access the Internet registry.
Platform: | Size: 23845888 | Author: 郑炎 | Hits:

[JSP/Javashopping_struts2_hibernate_spring

Description: 用struts2+hibernate+spring实现网上书店购物车功能,环境为MySQL、Eclipse、tomcat-Struts2+ hibernate+ spring used to achieve online bookstore shopping cart on the environment, MySQL, Eclipse, tomcat
Platform: | Size: 13237248 | Author: jinkwin | Hits:

[JSP/Javawebdgs

Description: 一个J2EE购物网站的实现 运用struts1.2+hibernate+spring 框架,数据库连接池,事务管理;Struts 应用国际化,Struts 标签库与Tiles框架, JSTL标签库,Spring IOC。 采用优化性能技术,采用oscache缓存,freemarker静态页面生成; 安装方法: 1:mysql中新建数据库dgssen.导入dgssen.sql 也可以修改:WebRoot\META-INF\context.xml 2:把mysql-connector-java-5.0.4-bin.jar这个mysql驱动jar包放到tomcat 6 下的lib下 3:把根目录下的net文件夹放到WebRoot\WEB-INF\classes下。因为这个是在线编辑器用到的.class 4: 后面管理地址: http://localhost:8080/webdgs/admin/frame.jsp 用户名/密码:admin/123456 合作商管理 http://localhost:8080/webdgs/ad 相应的用户与密码在后台管理设置-Implementation of a J2EE application shopping site struts1.2+ hibernate+ spring framework, database connection pooling, transaction management Struts Application International, Struts and Tiles tag library framework, JSTL tag library, Spring IOC. Optimized performance technology, oscache cache, freemarker static page generation installation methods: 1: mysql in the new database dgssen. Import dgssen.sql can also modify: WebRoot \ META-INF \ context.xml 2: the mysql-connector-java-5.0.4-bin.jar into the mysql driver jar package lib under tomcat 6 under the 3: the root directory of the folder into the net under the WebRoot \ WEB-INF \ classes the next. Because this is the online editor used. Class 4: after management address: http://localhost:8080/webdgs/admin/frame.jsp username/password: admin/123456 Partner Management http://localhost:8080/ webdgs/ad corresponding user and password management settings in the background
Platform: | Size: 28949504 | Author: 杨晓民 | Hits:

[JSP/JavaWeExam

Description: SSH2项目(WeExam)源码 WeExam=UML(Rose)+Struts2.1.8+Spring2.5+Hibernate3.5+Junit+Mysql 大量使用了Hibernate和Spring的注解 配置步骤: 安装Tomcat及Mysql后: 1、新建WeExam的数据库 2、修改src/jdbc.properties内的连接参数,及test/hibernate.cfg.xml(用于单元测试)的连接参数 3、打开一下连接初始化数据库:http://127.0.0.1:8080/WeExam/initialize 4、管理后台为:http://127.0.0.1:8080/admin_weexam/login.jsp 初始用户名密码为:admin 备注: UML文件夹内为rational rose的UML图。-weexam rational rose
Platform: | Size: 17704960 | Author: BIANCHENG | Hits:

[JSP/JavaShortRentNetWork

Description: 这是轻松短租网的源码,采用Struts+Hibernate+Mysql,在Myeclipse下开发的,tomcat作为服务器,轻声短租网实现了房东发布房屋,浏览房屋,房客订购房屋,管理员管理房屋和用户的等等功能,适合大家学习-This is easily short rental network source code, using Struts+Hibernate+Mysql, developed under the MyEclipse, Tomcat as a server, softly short rental network to achieve the landlord publishing house, browse housing, tenant houses ordered, administrator management, housing and user and so on, suitable for large learning
Platform: | Size: 10441728 | Author: 李东磊 | Hits:
« 12 3 »

CodeBus www.codebus.net